package com.xo.xodemo.mapper.db1;

import com.xo.xodemo.model.LoanModel;
import com.xo.xodemo.model.ThreeSixFivePushModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author nine
 * @date 2024/4/18/018
 * @Description
 */
@Mapper
@Repository
public interface ThreeSixFivePushMapper {
    List<ThreeSixFivePushModel> getAllData();

    void insert(@Param("threeSixFivePushModel") ThreeSixFivePushModel threeSixFivePushModel);

    List<ThreeSixFivePushModel> getMyData(String realNmae);

    ThreeSixFivePushModel getThreeSixFivePushModelById(String id);

    Integer selectMaxId();

    Integer whoCanSeeEveryoneSPushMessages(Integer positionId);

    List<ThreeSixFivePushModel> getAllTheHistoryOfEveryone();
}
